﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PCC.Framework
{
    [Serializable]
    public class PageInfo
    {
        /// <summary>
        /// 页号-从0开始
        /// </summary>
        public int PageIndex 
        {
            get; 
            set; 
        }

        /// <summary>
        /// 每页条数
        /// </summary>
        public int PageSize
        {
            get;
            set;
        }

        /// <summary>
        /// 总页数
        /// </summary>
        public int PageCount
        {
            get;
            set;
        }

        /// <summary>
        /// 总记录条数
        /// </summary>
        public int RecordCount
        {
            get;
            set;
        }

        /// <summary>
        /// 当前返回条数
        /// </summary>
        public int CurrentCount
        {
            get;
            set;
        }
    }
}
